//
//  PictureModel.m
//  XIWenLeJian
//
//  Created by lanou3g on 15/11/19.
//  Copyright © 2015年 蓝足. All rights reserved.
//

#import "PictureModel.h"

@implementation PictureModel

- (instancetype)initWithDict:(NSDictionary *)dict
{
    if (self = [super init]) {
        
        self.name = dict[@"name"];
        self.profile_image = dict[@"profile_image"];
        self.create_time = dict[@"create_time"];
        self.text = dict[@"text"];
        self.love = dict[@"love"];
        self.hate = dict[@"hate"];
        self.image0 = dict[@"image0"];
        self.gifFistFrame = dict[@"gifFistFrame"];
    }
    return self;
}

+ (instancetype)pictureWithDict:(NSDictionary *)dict
{
    return [[self alloc] initWithDict:dict];
}

@end
